html,body {
    width: 100%;
    height: 100%;
}
:root {
    --width: 1080px;
}
#app {
    height: 100%;
}
/* 首页  */
.layout {
    max-width: var(--width);
    min-width: 320px;
    margin: auto;
    overflow: hidden;
}
.header {
    position: fixed;
    top:0;
    left: 0;
    height: 72px;
    width: 100%;
    background-color: #fff;
}
.header-list {
    max-width: var(--width);
    min-width: 320px;
    height: 72px;
    margin:auto;
    display: flex;
    align-items: center;
    padding: 0 12px;
}
.header-logo img {
    width: 67px;
    height: 24px;
}
.header-input {
    width: calc(60vw);
    margin:auto;
    position: relative;
}
.header-input input {
    width: 100%;
    height: 40px;
    background-color: #F7F7F7;
    border: 0;
    border-radius: 99px;
    padding: 0 10px;
}
.header-input button {
    border:0;
    background:0;
    position: absolute;
    right:0;
    width: 40px;
    height: 100%;
    font-size: 20px;
    color: #5C5C5C;
}
.header-right {
    padding: 0 10px;
}
.header-right i {
    font-size: 20px;
    font-weight: 600;
}
/* 主体部分  */
.main-container {
    padding-top: 72px;
}
.channel-container ul {
    display: flex;
    white-space: nowrap;
    overflow-x: scroll;
}
.channel-container ul li {
    height: 40px;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0 16px;
    cursor: pointer;
    font-size: 16px;
}
.channel-container ::-webkit-scrollbar {
    display: none;
}
/* 被选中的样式  */
.channel-container .selected {
    color: #ff2442;
    background-color: #F7F7F7;
    border-radius: 99px;
    font-weight: 600;
}
.channel-container ul li:hover {
    color: #ff2442;
    background-color: #F7F7F7;
    border-radius: 99px;
    font-weight: 600;
}
/* 推荐  */
/* .content-container ul {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
}
.content-container ul li {
    width: calc(100% / 2 - 10px);
} */
.content-container ul {
    width: 100%;
    margin: auto;
    column-count:2;
    /* 间距 */
    column-gap: 10px;
}
.content-container ul li {
    background-color: #fff;
    margin-bottom: 10px;
    break-inside: avoid;
    /* 列里面的项不折断  */
}
.content-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 10px;
}
.content-title {
    font-weight: 600;
    margin: 5px 10px;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
}
.contentlist {
    display: flex;
    align-items: center;
    padding:10px;
}
.contentlist img {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    margin-right: 5px;
}
.contentlist-name {
    font-size: 12px;
    color:#5C5C5C;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    flex:1;
}
.aixin {
    color:#5C5C5C;
    display: flex;
    align-items: center;
}
.aixin i {
    font-size: 18px;
}
.aixin span {
    font-size: 12px;
}

/* 详情页  */
.detail-img {
    width: 100%;
    height: 300px;
    background-color: #F7F7F7;
    text-align: center;
    overflow: hidden;
}
.detail-img img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}
.detail-item{
    padding: 20px;
}
.detail-title{
    font-weight: 600;
    font-size: 18px;
    margin-bottom: 10px;
}
.detail-info{
    font-size: 16px;
}
/* 底部导航栏  */
/* 固定定位在页面最底部  */
.footer {
    position: fixed;
    bottom:0;
    left: 0;
    width: 100%;
    height: 60px;
    background-color: #fff;
}
.footer-list {
    max-width: var(--width);
    height: 60px;
    margin: auto;
}
.footer-list ul {
    display: flex;
    align-items: center;
    height: 100%;
    width:100%;
    text-align: center;
}
.footer-list ul li {
    flex:1;
}
.footer-list ul li i{
    font-size: 24px;
    font-weight: 600;
}
.active {
    color:#FF2442
}